{% assign parameters = include.data %}
<table class="parameters">
    <thead>
    <tr>
        <th>Name</th>
        <th>Located in</th>
        <th>Description</th>
    <tr>
    </thead>
    <tbody>
    {% for parameter in parameters %}

        {% if parameter['$ref'] %}
            {% assign name = parameter['$ref']|split: '/'|last %}
            {% assign param = site.data.nakadi-event-bus-api.parameters[name]%}
        {% else %}
            {% assign param = parameter %}
        {% endif %}

        <tr>
            <td class="param-name">
                {{ param.name }}
                {% if param.required %}
                <span class="required"> </span>
                {% endif %}
            </td>
            <td>{{ param.in }}</td>
            <td>{% assign type = param %}
                {% include type.html type=type %}
            </td>
        </tr>

    {% endfor %}
    </tbody>
</table>

